package com.example.user.mapper;

import com.example.common.Ov.UserInfoOv;
import com.example.common.base.BaseMapper;
import com.example.common.pojo.User;

public interface UserMapper extends BaseMapper<User> {

    //获取用户超详细资料
    UserInfoOv getById(Integer id);

    //登录
    User login(User user);

    //通过手机号获取用户
    User getUserByMobile(String mobile);

    //通过条件获取用户
    UserInfoOv getUserByCondition(User user);

}
